package com.jxd.reportsys.model;

import java.util.List;

/**
 * @ClassName Emp
 * @Description TODO
 * @Author 朱隶文
 * @Date 2024/9/19 16:20
 * @Version 1.0
 */
public class Emp {

    private Integer empno;
    private String ename;
    private Integer deptno;
    private Integer sex;
    private Integer job;
    private Double sal;
    private String hiredate;
    private Integer phone;

    private List<Report> reportList;

    public Emp(Integer empno, String ename, Integer deptno, Integer sex, Integer job, Double sal, String hiredate, Integer phone, List<Report> reportList) {
        this.empno = empno;
        this.ename = ename;
        this.deptno = deptno;
        this.sex = sex;
        this.job = job;
        this.sal = sal;
        this.hiredate = hiredate;
        this.phone = phone;
        this.reportList = reportList;
    }

    public Emp() {
    }

    @Override
    public String toString() {
        return "Emp{" +
                "empno=" + empno +
                ", ename='" + ename + '\'' +
                ", deptno=" + deptno +
                ", sex=" + sex +
                ", job=" + job +
                ", sal=" + sal +
                ", hiredate='" + hiredate + '\'' +
                ", phone=" + phone +
                ", reportList=" + reportList +
                '}';
    }

    public Integer getEmpno() {
        return empno;
    }

    public void setEmpno(Integer empno) {
        this.empno = empno;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public Integer getDeptno() {
        return deptno;
    }

    public void setDeptno(Integer deptno) {
        this.deptno = deptno;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getJob() {
        return job;
    }

    public void setJob(Integer job) {
        this.job = job;
    }

    public Double getSal() {
        return sal;
    }

    public void setSal(Double sal) {
        this.sal = sal;
    }

    public String getHiredate() {
        return hiredate;
    }

    public void setHiredate(String hiredate) {
        this.hiredate = hiredate;
    }

    public Integer getPhone() {
        return phone;
    }

    public void setPhone(Integer phone) {
        this.phone = phone;
    }

    public List<Report> getReportList() {
        return reportList;
    }

    public void setReportList(List<Report> reportList) {
        this.reportList = reportList;
    }
}
